package xin.val1ant.demo_idea_community.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller()
@RequestMapping("/admin")
public class AdminController {


    @GetMapping("/login")
    public String login() {
        return "admin/login";
    }

    @GetMapping("/hello")
    public String hello(){
        return "admin/hello";
    }
}
